const routes = [{
  path: '/login', name: 'login',
  meta: { menuZhCn: '登录', menuEnUs: 'Login' },
  component: () => import('pages/Login/Login.vue')
}, {
  path: '/',
  children: [
    { path: '', redirect: '/dashboard/console' }
  ]
}, {
  path: '/dashboard',
  component: () => import('layouts/MainLayout.vue'),
  meta: { menuZhCn: '仪表盘', menuEnUs: 'Dashboard', menuId: 'Dashboard', menuIcon: 'dashboard' },
  children: [{
    path: '/dashboard/console',
    component: () => import(/* webpackChunkName: 'Dashboard' */ 'pages/Dashboard/Console.vue'),
    meta: {
      menuZhCn: '', menuEnUs: '', menuId: 'Console', parentIds: 'Dashboard',
      menuIcon: 'monochrome_photos', path: '/dashboard/console'
    }
  }]
}, {
  path: '/remoteFactoryMonitoring',
  component: () => import(/* webpackChunkName: 'Dashboard' */ 'pages/Dashboard/Console.vue'),
  meta: {
    menuZhCn: '', menuEnUs: '', menuId: 'Console', parentIds: 'Dashboard',
    menuIcon: 'monochrome_photos', path: '/dashboard/console'
  }
}, {
  path: '/:catchAll(.*)*',
  component: () => import('pages/ErrorNotFound.vue')
}]

export default routes